﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Master.master" AutoEventWireup="true"
    CodeFile="default.aspx.cs" Inherits="artilce_default" %>

<%@ Register src="../ascx/UserInfo.ascx" tagname="UserInfo" tagprefix="uc1" %>
<asp:Content ID="Content1" ContentPlaceHolderID="Head" runat="Server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="Content" runat="Server">
    <div class="k66">
        <div class="word">
            <div class="site">
                <div class="info"><a href="?new" class="curr">最新</a><a href="?love">推荐</a></div>
                <p>最新发布</p>
            </div>
            <asp:Repeater ID="Repeater1" runat="server">
            <ItemTemplate>
            <div class="Title">
                <div class="top"><strong><%# Eval("LoveNum")%></strong>热度</div>
                <div class="biaot">
                    <h2><a href="/artilce/<%# Eval("ID")%>.html"><%# Eval("Title")%></a></h2>
                    <div><a href="#"><%# Eval("UserName")%></a><%# base.DateBefore(Eval("AddTime"))%></div>
                </div>
            </div>
            <div class="Content">
                <%# base.CuteByte(Eval("Content"),50,"...") %>&nbsp;&nbsp;&nbsp;&nbsp;<a href="/artilce/<%# Eval("ID")%>.html">查看全部 »</a>
                <div class="tool"><a href="#" class="pl"><%# Eval("FeelingCount")%></a><a href="#" class="xh"><%# Eval("LoveNum")%></a></div>
            </div>
            </ItemTemplate>
            </asp:Repeater>
            <my:aspnetpager class="arPage" PageSize="10" UrlPaging="true" 
                runat="server" ID="pgServer" 
                CustomInfoHTML="共%PageCount%页记录<span>|</span>每页<em>%PageSize%</em>条<span>|</span>当前第<em>%CurrentPageIndex%</em>页" 
                FirstPageText="首页" LastPageText="尾页" NextPageText="下一页" PrevPageText="上一页" 
                ShowCustomInfoSection="Left" Height="18px" >
            </my:aspnetpager>
        </div>
    </div>
    <div class="k34">
        <uc1:UserInfo ID="UserInfo1" runat="server" />

        <div class="Box">
            <div class="Title">
                排行榜</div>
            <div class="Main User_Thumb">
                <asp:Repeater ID="rptPaihang" runat="server">
                <ItemTemplate>
                    <a href="#" title="<%# Eval("UserName") %>"><img src="<%# Eval("Pic") %>" width="50" height="50" alt="<%# Eval("UserName") %>" /></a>
                </ItemTemplate>
                </asp:Repeater>
<%--                <a href="#" title="进入会员首页"><img src="/img/xhead/1.jpg" alt="会员名称" /></a>
                 <a href="#" title="进入会员首页"><img src="/img/xhead/2.jpg" alt="会员名称" /></a>
                <a href="#" title="进入会员首页"><img src="/img/xhead/3.jpg" alt="会员名称" /></a><a
                            href="#" title="进入会员首页"><img src="/img/xhead/4.jpg" alt="会员名称" /></a><a href="#" title="进入会员首页"><img
                                src="/img/xhead/5.jpg" alt="会员名称" /></a><a href="#" title="进入会员首页"><img src="/img/xhead/6.jpg"
                                    alt="会员名称" /></a><a href="#" title="进入会员首页"><img src="/img/xhead/7.jpg" alt="会员名称" /></a><a
                                        href="#" title="进入会员首页"><img src="/img/xhead/8.jpg" alt="会员名称" /></a><a href="#" title="进入会员首页"><img
                                            src="/img/xhead/9.jpg" alt="会员名称" /></a><a href="#" title="进入会员首页"><img src="/img/xhead/10.jpg"
                                                alt="会员名称" /></a><a href="#" title="进入会员首页"><img src="/img/xhead/11.jpg" alt="会员名称" /></a><a
                                                    href="#" title="进入会员首页"><img src="/img/xhead/12.jpg" alt="会员名称" /></a><a href="#"
                                                        title="进入会员首页"><img src="/img/xhead/13.jpg" alt="会员名称" /></a><a href="#" title="进入会员首页"><img
                                                            src="/img/xhead/14.jpg" alt="会员名称" /></a><a href="#" title="进入会员首页"><img src="/img/xhead/15.jpg"
                                                                alt="会员名称" /></a><a href="#" title="进入会员首页"><img src="/img/xhead/16.jpg" alt="会员名称" /></a>--%>
            </div>
        </div>
        <div class="Box">
            <div class="Title">
                图片</div>
            <div class="Main Right_Thumbnail">
                <asp:Repeater ID="rptRandomPic" runat="server">
                <ItemTemplate><a href="/image/<%# Eval("ID") %>.html" title="<%# Eval("Title") %>"><img src="<%# base.GetImage(Eval("Pic")) %>" width="127" height="110" alt="<%# Eval("Title") %>" /></a></ItemTemplate>
                </asp:Repeater>
            </div>
        </div>
    </div>
</asp:Content>
